import Router from "koa-router"

import wallpaperController from "../controller/wallpaper.controller.js"
const { getRanImg } = wallpaperController

const router = new Router({ prefix: "/wallpaper" })

// 获取随机图片 http 地址
router.get("/", getRanImg)

export default router
